package cloud.estate.activity.service;

import cloud.estate.commons.bean.Activity;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface ActivityService extends IService<Activity> {
    JsonResult addOneActivity(Activity entity);

    JsonResult updateOneActivity(Activity entity);

    JsonResult deleteOneActivity(String id);

    JsonResult findOneActivity(String id);

    JsonResult findAllActivity();
}
